//
//  PKRadioTingModel.m
//  PianKe
//
//  Created by ybq on 15/12/26.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKRadioTingModel.h"

@implementation PKRadioTingModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"authorinfo"]) {
        _authoricon = value[@"icon"];
        _authoruname = value[@"uname"];
    }
    if ([key isEqualToString:@"userinfo"]) {
        _usericon = value[@"icon"];
        _useruname = value[@"uname"];
    }
}

//- (void)setValue:(id)value forKey:(NSString *)key {
//    [super setValue:value forKey:key];
//    if ([key isEqualToString:@"moreting"]) {
//        PKMoreTingModel *model = [[PKMoreTingModel alloc] init];
//        [model setValuesForKeysWithDictionary:value];
//        _moreting = model;
//    }
//}

@end
